//
//  NoteDettaglioViewController.m
//  InterventixApp
//
//  Created by Diego Falcinelli on 24/09/13.
//
//

#import "NoteDettaglioViewController.h"

@interface NoteDettaglioViewController ()

@end

@implementation NoteDettaglioViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    self.note.text = self.dett_intervento.descrizione;
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


-(IBAction) indietro{
    self.dett_intervento.descrizione = self.note.text;
    [[self navigationController] popViewControllerAnimated:YES];
}

@end
